Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add startretries=1000 to supervisor.config file #726

Closed
wants to merge 4 commits into from

Conversation

ariaieboy
Copy link
Contributor

When we use the --watch flag if the code contains a syntax error the PHP program are going to fail and by default, if the program doesn't start after 3 restarts we are getting this error:

 INFO exited: PHP (exit status 1; not expected)
 INFO gave up: php entered the FATAL state, too many start retries too quickly

The supervisor will not try to boot the server again.
And that's super annoying, especially in octane.
We need to restart the docker-compose to boot the octane server.
By adding startretries=1000 it will try to start the server 1000 times instead of 3 times.
And it fixes the problem.

@taylorotwell
Copy link
Member

Some people may not want to try 1000 times?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants